﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SmartEP.DTO
{
    public class Database
    {
        private string _ServerName, _DatabaseName, _UserName, _Password;

        public string ServerName
        {
            get { return _ServerName; }
            set { _ServerName = value; }
        }

        public string DatabaseName
        {
            get { return _DatabaseName; }
            set { _DatabaseName = value; }
        }

        public string UserName
        {
            get { return _UserName; }
            set { _UserName = value; }
        }

        public string Password
        {
            get { return _Password; }
            set { _Password = value; }
        }

        public Database(string ServerName, string DatabaseName, string UserName, string Password)
        {
            _ServerName = ServerName;
            _DatabaseName = DatabaseName;
            _UserName = UserName;
            _Password = Password;
        }
    }
}
